package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.RunRecords;

/**
 * 运行记录Service接口
 * 
 * @author yaozh
 * @date 2024-02-20
 */
public interface IRunRecordsService 
{
    /**
     * 查询运行记录
     * 
     * @param id 运行记录主键
     * @return 运行记录
     */
    public RunRecords selectRunRecordsById(Long id,String dbName);

    /**
     * 查询运行记录列表
     * 
     * @param runRecords 运行记录
     * @return 运行记录集合
     */
    public List<RunRecords> selectRunRecordsList(RunRecords runRecords,String dbName);

    /**
     * 新增运行记录
     * 
     * @param runRecords 运行记录
     * @return 结果
     */
    public int insertRunRecords(RunRecords runRecords,String dbName);

    /**
     * 修改运行记录
     * 
     * @param runRecords 运行记录
     * @return 结果
     */
    public int updateRunRecords(RunRecords runRecords,String dbName);

    /**
     * 批量删除运行记录
     * 
     * @param ids 需要删除的运行记录主键集合
     * @return 结果
     */
    public int deleteRunRecordsByIds(Long[] ids,String dbName);

    /**
     * 删除运行记录信息
     * 
     * @param id 运行记录主键
     * @return 结果
     */
    public int deleteRunRecordsById(Long id,String dbName);
}
